<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>车辆检测与养护</title>
    <meta name="description" content="">
    <meta name="format-detection" content="telephone=no">
    <meta http-equiv="Pragma" content="no-cache">
    <meta http-equiv="Cache-Control" content="no-cache">
    <meta http-equiv="Expires" content="0">
    <meta name="viewport" content="width=device-width, initial-scale=1.0 maximum-scale=1.0, user-scalable=0">
    <link href="css/font-awesome.min.css" rel="stylesheet">
    <link href="css/XCNmain.min.css" rel="stylesheet">
    <script src="js/jquery.min.js"></script>
</head>
<body>
    <div data-role="page">
        <div id="product">
            <div class="product-content">
                <img src="images/jcyh/product02_p1.png">
                <div class="grey-bar"></div>
                <div class="toggle-bar">
                    <div class="left-bar sub-bar"><span class="active-item">服务介绍</span></div>
                    <div class="right-bar sub-bar"><span>服务预约</span></div>
                </div>
                <div class="service-wrap">
                    <div class="service-intro show">
                        <img src="images/jcyh/product02_p2.png">
                        <img src="images/jcyh/product02_p3.png">
                        <img src="images/jcyh/product02_p4.png">
                        <img src="images/jcyh/product02_p5.png">
                        <img src="images/jcyh/product02_p6.png">
                    </div>
                    <div class="service-order">
                        <img src="images/jcyh/service_p2.png">
                    </div>
                </div>
            </div>
            <div class="bottom-button">
                <div class="inner-bottom-button">立即预约</div>
            </div>
        </div>
    </div>
    <script>
        var $toggleBar=$('.toggle-bar>div');
        $toggleBar.click(function () {
            $(this).find('span').addClass('active-item');
            $(this).siblings().find('span').removeClass('active-item');
            var index=$toggleBar.index(this);
            $('.service-wrap>div').eq(index).addClass('show')
                .siblings().removeClass('show');
        })
    </script>
</body>
</html>